const router = require('koa-router')()
const UsersController = require('../controller/users')

router.prefix('/api')

// const auth = async (ctx, next) => { // 拦截
//   await next()
// }

router.get('/user/page', UsersController.page)

module.exports = router
